Updated transaction locks to be defered.
Merge pull request #147 from Sonarr/sqlite-lock

Updated transaction locks to be defered.