Updated TrackerEventHandler to only trigger UpdateLatestPosition on the last record processed and pass the position object to the function
Added database property to Device class
Updated DatabaseDataManager to allow the use of placeholder _database_ in queries
Fixed updateLatestPostion using the wrong query object to prepare the namedstament
Added null check for lastPostition
Removed Other changes to prepare for pull request
Removed Other changes to prepare for pull request
Re-factored so a functions handles assigning the data to the prepared statement to replace c&p code
new function called assignVariables
Merge pull request #864 from jedjones-uk/master

Update to updateLatestPosition call timing