principal_exists function

checking if a principal will be faster than unwinding the stack and
watching for an exception.
Fix dict warning when null dict is sent to be unpacked during init
Merge pull request #19 from russjancewicz/development

Development