Fixing the Manage Allowances drop down issue. I've also refactored some ...

Number of fixes have occurred here: 

1) The Manage Allowances page is now fixed. The remote AJAX call was going off to the wrong controller and hence why it never updated the holiday entitlement for the different years.
2) Created a new common js file which was needed as Manage Allowances and Absences page.
3) General refactoring of the tests and view to bring into line the up-to-date Ruby syntax.
4) Fixed an issue where the days remaining was not replenished if a request was rejected. This now correctly occurs in all scenarios (I've cleaned the code up further and added tests to handle the scenario).

LL - 25/09/2014 - This now includes Lost Password functionality and other styling refactors. Quite a sizeable review to be had now.

Any questions please let me know. Also let me know if you spot any issues (bugs or code related).

Cheers,
Liam