Type switch on otto.Value

Ugh, this is not documented in otto. Leaving a panic for future cases
where dynamic typing will jump out at us.

Fixes issue #160.
Add test for issue 160
Merge pull request #162 from kortschak/issue160

Issue160