Hibernate implementation of the TaskLockManager interface.
This implementation extends the base ThreadManagerImpl class and provides
locking abilities which are managed through the database.
Try to aquire a lock for a given RollerTask.
Remember, locks are only given if ...
1. the task is not currently locked and it's past the next scheduled
run time for the particular task
2. the task *is* locked, but its lease has expired