Added update and delete books

![interface](https://cloud.githubusercontent.com/assets/7677641/4975546/05a19354-68eb-11e4-9915-c02a945e23aa.jpg)

don't use encode to json here, return array and let the View interpretate this data as it wants