Fixed lots of errors regarding master passphrase handling.
Merge branch 'master' of github.com:alokat/OpenPM

Conflicts:
	pm_add.c