Patch layoutManager's AMD handling to play nice with r.js. Update test/expose.js to correct Backbone shim.

AMD wrapper adapted from https://github.com/umdjs/umd/blob/master/amdWeb.js
Style fixes related to UMD. Added .jshintrc and included inside Gruntfile.
Style adjustments.
Merge pull request #364 from ssafejava/fixRequire

Patch layoutManager's AMD handling to play nice with r.js. Addresses #359