More fixes and test imports

Trim leading NS sep from fully-qualified class names
Separate name params to runkit_constant_*() functions
Bail out of imports cleanly
Fix importing of static properties
Plug leak during import failure