Add offline capability to bundle

for those of us who like working on planes...

Also add doctrine/collections to the list of dependencies.
Fixes as asked for by Martin.
Add documetnation to offline constructor
Merge pull request #47 from tarjei/master

Add offline capability to bundle