Merge pull request #17 from sjtug/chase

change left panel style, add routers to logout
added bookmanage.js
added location of book
finished basic functions of bookmanage.js

bookmanage.js Doc
----------------
bookObj
每本书是一个bookObj
newbook.set("detail",infodata);//infodata是从豆瓣API抓取的JSON Object
newbook.set("title",infodata.title);//原书基本信息 便于查询
newbook.set("author",infodata.author);
newbook.set("isbn",isbn);
newbook.set("owner",User); //owner指向当前用户
newbook.set("location",new AV.GeoPoint(...));//当前地理位置
-----------------
addBook = function(isbn,success_callback,error_callback)
获取一本书的信息并将其保存到云端
success_callback 的参数是一个bookObj
error_callback
的参数是一个字串,说明错误类型,取值为"BOOK_ALREADY_EXISTS","BOOK_INFO_NOT_FOUND",或者向云端写入
时发生的错误描述.可省略

----------------
queryUserBook = function(isbn,callback)
查询当前用户是否拥有某本书
callback 的参数是一个bookObj或者是false
---------------
removeBook = function(bookobj,success_callback,error_callback)
删除当前用户的一本书
---------------
var listUserBook = function(callback)
列出当前登录用户的所有书籍
callback的参数一个bookObj的array
--------------
var var listNearByBook = function(callback)
同上..
undo test modifications
Revert "added bookmanage.js"

This reverts commit 28721e597ab88c1e9596b5c69aa98fa139484cff.

Conflicts:
	app/javascript/bookmanage.js

Revert "undo test modifications"

This reverts commit
b3baf25b7a15464b20942076a580ef1b8008bb02.
router register login
login reset
Merge pull request #18 from sjtug/zs

router register login
Merge pull request #19 from Nihiue/master

add bookmanage.js
people yoo
add a simple logo
fix bugs
refactor nav logic