Minor code reorganization

* Moved all assembler code out of pasm.py and into assembler package.
Now the package should be usable inside other applications.
* Cleaned up imports