bin can be either an object or a string. Added types to fields for fields that can be multiple input types. Resolves gorillamania/package.json-validator#17
Array type wasn't being properly checked.
main field should be a string, not an array.
Merge pull request #18 from jatin-/issues/17

bin field should allow strings and objects.