pkgtool source code (so far)

Still have to:
1) "KEY" routine from scetool
2) get ECDSA working from polarssl code!!