ignore JetBrains and OS X files
many best-practices improvements

- migrated style attributes to embedded CSS
- scripts tags to the bottom of the body element
- added DOCTYPE declaration
- fixed inline-block for old IE
- add Angular.JS
use AngularJS to do the heavy lifting