Rename close to destroy.
Merge pull request #1190 from jmeas/rename-close-to-destroy

Rename close to destroy
Add stricter jshint options
Renames Layout to LayoutView