Make it possible to use this library with Spring

The main idea is to have the same code, that works with Activiti. User should have opportunity  to change the persistence layer just only using Spring application context.