merge jacobbi master

Merged master view1.html and view1.html with jacobbi branch
Added database to master.

Changes:
Added removeMessageByID, removeMessageByObject, clearDatabase  and
sorting the returned object array from getAllMessages by lastUpdated
timestamp.

clearDatabase retrieves all the objects and removes them.