clean up tests (imports, two duplicate names)
implement implicit loading in view functions
mention implicit loading in the documentation
restore Python 3 compatibility
add support for alpha channels