Implemented validation of uniqueness of time_period
Fixed spec for balance_controller and converted application.html to haml

Commit application.html.haml