fixed some of the relative imports and also one of the circular ones

Hi,
I have resolved the circular import issue and some of the relative imports. All the nosetests still pass in Python 2.7.7 and now we pass some more nosetests for Python 3.3.5.