Check for invalid document members.
Check for invalid document members.

Removes a guard that only checked for fields with integer values. Adds tests to
basics.js



git-svn-id: c1f8a8ec0b3bb2e99ab3413722f81f687760e79c@773260 13f79535-47bb-0310-9956-ffa450edef68

apache/couchdb-futon,apache/couchdb-futon