refactored so that available tasks come from an angular factory
made methods and data structures threadsafe in mock jBPM backing
introduced more meaningful naming
introduced service methods for all task features
cleaned up code