Added .tern-project.
Fix the bug purged tab information don't save correctly.
Thereby display icon of history and session on the option page correctly.
background.html is deleted.
The history and the session history will use indexedDB.

The history and the session history are changed to use indexeDB from chrome.storage.