Major changes in AJAX implementations
Added second to time-stamp
Added auto-refresh using ajax for chat page
Fixed some bugs
Merge branch 'dev2' into dev3

Conflicts:
	templates/chat/chat.html
	templates/profile/profile.html
Merge branch 'dev3'