Replace custom alert messages with built in messages.

I have previously implemented simple notifications for users
by sending alert parameter to the template, but later I have
found messages framework which does just that.
Add edit and add buttons to book details and list views.