fixed file in python 2.7 with test, fixes #309
add _io mixin because that's what open in python3 returns
fix reversed builtin in 2.7
Merge branch 'dev' of github.com:davidhalter/jedi into dev