Deal with blank author_details in import files

Mainly to deal with bug resulting in no author records for some books.
This is an ongoing issue with no clear cause.
Initial work on amazon links, also IDs have their own file now
Merge pull request #612 from Grunthos/master

Updates for B5