Merge pull request #4 from fobilow/master

Delete text container entries when parent translation mapper is deleted. Fixes T169
Merge branch 'master' of github.com:fobilow/Cubex into fobilow-master
Allow button type to changed based on button name.

This allows us to ahve a button for submitting and reseting forms as well as simple clickable buttons.
Merge pull request #6 from fobilow/master

Fixed Bug. Load by key to ensure we are deleting the right text container entries. Ref T169
Added `fromArray()` method to options builder
Added batched callable queue consumer
Fixed return value from process method
Changed batch callback API so the callback is sent the whole batch in one go
Added IBatchQueueProvider and added a basic implementation in DatabaseQueue that should work ok until T179 has been implemented
Update db queue consumer to correctly identify queue name as well as lock key
ID Storage type configurable, and indexes on queue mappers for improved performance on large db queues.
Table is now created if required in pushBatch
Added check for empty data
batch delete within DB queue
Check for file exists before is_dir, avoiding unwanted errors