Minor: Disable autocompletion on pin entry

Otherwise a big list of past pins builds up each time you authenticate.
Factor pin stuff to lib/pin.js

General rule: 'util.verbFoo()' is less ideal than 'foo.verb()',
especially once there is more than one verb to be done with foo.

This sets the stage for a proper db refactoring, so that tests can
be more guaranteed to not clobber the "real" db.

Fix #68
Only scroll to chat message if at bottom of history (Fixes GH-73)
Merge pull request #77 from remixz/chat-scroll-at-bottom

Only scroll to chat message if at bottom of history (Fixes GH-73)
Merge pull request #70 from spinda/patch-1

Minor: Disable autocompletion on pin entry
Merge pull request #75 from isaacs/pin-factor

Factor pin stuff to lib/pin.js