app: improved file paths handling
view: improved JS code and view location

index.haml: properly locate view code
app: added .haml files rendering

Now we render haml files without needing to place
it in :views path
app: refactoring internal code

Formatting according to https://github.com/styleguide/ruby
Improving readability
gem: version bump
app: set environment to :production
app: update directory index template
app: added .erb template rendering
gem: added TODO
misc: improving comments
gem: refactored code

* Improved render_file method
* Improved dynamic_size method