fix error when login failed.
obvious error

when unable to login, we should go to anonymous state.
country_name is empty when passing to countryInfo.get_code

it's natural in angularjs, we'd better use object instead of native var
when nesting controllers.
minor changes

- remove postfix: Handler in class name
- tornado didn't handle media-type: json, i need to take care of it by
myself.
changes

- add util.Hasher to hash password
add new Base of RequestHandler

- access core.Core by default
- original Base is renamed to Json
a set of temporary user RequestHandler