Add templates for availability.
Change to availability embeded in book model.
Remove remaining code for unused model
Merge branch 'availability' into develop