Changed CSV detail upload to use prepared statement
Updated import - finds ID using serial number rather than last_insert_id()
Merge branch 'master' of https://github.com/eoineoo/automate