backend/namedprops:create_schema: Avoid leaving open file in case talloc fails
test/indexing: Make init test to actually test with not valid password
backend/indexing: Sanity checks for mysql_record_add() input params

Also add documentatino for mysql_record_add()
test/indexing: add and restyle tests for indexing->add_fmid() interface