Make the `console` command 20% cooler

Code based on Django and Kwpolska/tiedot[0].  I haven’t implemented ipython and
bpython because they broke.  If anyone feels like implementing them properly, go
on and have fun!  (see [0])

[0]: https://github.com/Kwpolska/tiedot/blob/master/bin/tiedot

Signed-off-by: Kwpolska <kwpolska@gmail.com>
Merge pull request #332 from Kwpolska/console

Make the `console` command 20% cooler