ReThinkDB backend

This is finishing the implementation, using ReThinkDB. This means that we loose our "no external dependencies", but we gain a fast, easy to use system, and much more flexibility. I'm fine with the trade off.