fixed 1302
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
Fix on validation special characters on Assets