Added loggedIn() method to Nopwd

Signed-off-by: Gideon Farrell <me@gideonfarrell.co.uk>
Install Enum.js

Signed-off-by: Gideon Farrell <me@gideonfarrell.co.uk>
Make Nopwd.status an enum

Signed-off-by: Gideon Farrell <me@gideonfarrell.co.uk>
Filled out loginRequestSuccessful method
Installed microevent library
Add event capabilities to Nopwd
Added events to Nopwd:
 * error
 * requestTokens
 * receivedToken
 * login
 * loginRequestSuccessful