Migrating to swig 1.2.2

As stated in superjoe30#13 I've done the PR removing the dummy context.

All tests run ok in a linux env (windows, as before the PR) returns error on new lines