Merge pull request #17 from ledgersmb/master

sync over master branch
De-duplicate function naming.
Fix REVOKE statement.
Merge pull request #85 from ehuelsmann/master

Rename duplicately named function batch__lock(int).