created tests for SF bug #1297

* test under Examples/python
* test if we can have two modules of same name in different packages
* test if we can import python modules from within __init__.py
applied patch for SF bug 1297