Cleanup backported from rails4 branch

* Added/Update gitignore file
* Transformed README.txt to README.md
* Added application.js for each barclamp in preparation for angularjs
* Added inline documentation used by upstream docs section
* Refactored upstream documentation section