Mojo JS Bindings: added unit tests for float/double and bit array values

Added unit tests for encoding/decoding structs with
float/double and bit array field values.

BUG=
R=eseidel@google.com

Review URL: https://codereview.chromium.org/799763002