Switch code convention on EOF newline.

This matches most *nix editor defaults and follows IEEE 1003.1-2008 (section 3.206).
Add has.js implementation for use with non-Dojo loaders.

Also switch cache result detection mechanism and use Object.create(null) to avoid has-rules returning built-in Object.prototype properties.
Fixes #6, #10.