Added a better version of Flask-Script 5.3's Shell

This one should properly support preferring ipython over bpython and is easier
to extend.