Move matplotlib imports into functions
Cache loading of the menpo logo
Move more matplotlib imports into functions
Remove IPython references

I also automatically reformatted the code so there seems
to be a lot of changes, but a lot of them are Pycharm
truncating the text to within 80 characters. This needs to be
tested further to make sure I didn't miss anything
Fix tests for logo being added