Some bug fixes and Transaction handling

The system now creates transactions associated with every book issue and
return. Also the backend is ready to handle placing orders as well as
requesting orders