Copy what pliny 0.3 template is doing with lib/applcation

https://github.com/interagent/pliny-template/pull/133
https://github.com/interagent/pliny/blob/master/CHANGELOG.md#030-2014-09-09