rewrite refresh num function ,and fixed reg/login function.
formate data.js
update model
reg function
Optimization reg/login function.
add find password function
fixed reg function , add huskies lock.
route add cookie login function,and add create topic function.
add test env
add test/util mocha test
add test/util/test.query.js
util/test.query.js finish
formate code
update brighthas/model@0.2.3
add dbrepo for test
IOC / DI
rewrite mocha test same..
finish mocha test/* rewrite
rewrite result, use result-brighthas
rewrite test