RT-364 Implicitly use an empty map when applied trair or resource type has a null value

  - switch back to indent size of 2 to be consistent across the projects
  - add .jshintrc
  - clean up test files before big release to make them look almost
    identical and make jshint happy
  - add more tests against invalid values being used for traits and
    resource types
  - switch to should instead of expect in last 3 or 4 places
Merge pull request #67 from raml-org/RT-364-implicit-an-empty-map-for-null-applied-traits-and-resource-types

RT-364 Implicitly use an empty map when applied trair or resource type has a null value