Fixed a bug regarding storing observer definitions.

There was a bug regarding how optional metadata field definitions were being saved. This has been fixed.

Also, some unnecessary debug messages have been removed.

References #491
References #486
Merge branch 'ohmage-2.14' of github.com:cens/ohmageServer into ohmage-2.14