1441 partial fix when inputting invalid characters on date field
Merge remote-tracking branch 'technowar/develop' into develop

* technowar/develop:
  1441 partial fix when inputting invalid characters on date field
Users field validation on gender and user role
fixed auto delete issue
Fixed 1302 re-occuring bug
prettify them codes
finally fixed ontime issue #1347
Merge @technowar's changes

* technowar/develop:
  Users field validation on gender and user role

Conflicts:
	app/scripts/views/employees.js
fixed date picker issue when dismissing the date layout and also added autoclose feature
updated Gruntfile, and app.js
* added middleware method for defaulting all routes to index.html
* modified rendering when user is logged out
added temporary user login persistency
initial detailed view implementation for Assets Management
modified action buttons to display permanently
updated asset detail view
Fixed displaying of assets defect from task 1512
asset details view second implementation still needs improvement
 1516 fixed