this works with SQLServer and appears to be generally less database specific and fragile
Merge pull request #38 from gaslight/master

Use more generic (and SQL Server compatible) locking in reserve