new statedemo tests added
add comments on stateDemo
login manager hookup to newgate.html
version number updated in package.json
Deferred stateMap prototype tested