Fixed deprecados, added some requirements at code level.
Removed nonneeded.
Added by accident.
Fix travis conf.
Fix for fix.
Merge pull request #156 from xi-project/deprecado-fixes

Fixed deprecados, added some requirements at code level.