Move out basket library

It's almost all complete ;)

Due to the issues in `OTTransaction` it's not yet feasible to fix things in there and I would be fine to leave it like this until we have put a proper design in place to model transactions. Then it will be trivial to finalize this.

Feedback welcome.