Move opening/closing of db to a function
Add support for JSON-based password store (Firefox >= 32)
Add a changelog