Adding functions to support requesting book loans and confirming book loans (in the book module).

Also updating the section of "loan_date" in the "loans" table to be NULLABLE so that when it is null, we know the row represents a request and when it is not null, it represents an actual loan that was confirmed.