fix that default options overrides directly passed options to validate
Changed exports line

To allow the module to be browserified.
Update the exports line to work in node.js, browser and browserify

Also make the validate function available in window instead of window.json (inline with revalidator documentation)
add message for additionalProperties
Fix inconsistent headers in README
errors use dot notation for properties

for example, publisher is an object with a name property.  classically revalidator would set `property` to simply `name`.  but that sucks if you have another property called `name` somewhere else in the object.

this commit makes errors prefix the property with their ancestry in dot notation form.  e.g.
```js
{
attribute: 'type',
property: 'publisher.name',
expected: 'string',
actual: 'object',
message: 'must be of string type'
}
```
now with or more cowbell

or less console.dir.  whatever.
use Math.floor instead of ~~ for integer

When testing large numbers, ~~ gives results that are inconsistent with
Math.floor(). The performance impact is *very* small.

http://jsperf.com/tilde-vs-floor
Merge pull request #56 from facundoolano/master

Update the exports line to work in node.js, browser and browserify
Fix a behavior when uniqueItems is false for array
[dist] v0.1.8
Merge pull request #72 from bengl/mathdotfloor

use Math.floor instead of ~~ for integer
Merge pull request #69 from seangarner/dot_notation_errors

Dot notation errors
Merge pull request #67 from eiriksm/patch-1

Fix inconsistent headers in README
Merge pull request #71 from davidgwking/master

patternProperties not subjected to additionalProperties constraint
fix typos in readme
[docs] minor add contributor
Merge pull request #62 from seangarner/additional_properties_message

add message for additionalProperties
additionalProperties option added
[minor] provide defaults and align messages

Also make sure that the options are valued over defaults, overwriting defaults
is impossible otherwise