save_db is now print_db (capable of handling stdout)

This solves menu options 2 and 7
Forgot about internal extra id of every book

first try to integrate
find_index_by_id function and...

in the spirit of integrating the external id
new function is linear as asked
search_by_id()
search_for_name()
forgotten declarations/bugs in those last functions