Reworked keyring and added new keyring bundle

Changed keyring to use key interface

Split out local storage code as a plugin

Created new keyring.js and keyring.debug.js bundles.

Updated test code and add more keyring tests.