fixes for media embedded
Merge branch 'sqlalchemy' of github.com:RedTurtle/eve into sqlalchemy