Changes to make swagger1.2 compatible

1) Make swagger1.2 compatible
2) Add more integration tests
3) setattr for ipython tab completion