Generalized infrastructure for creating sub-projects.
Fixed copyright header.
Use dlerror() for better diagnostics if dlopen() failed.

Fixes #17.
Merge branch '14-sub-project-support' into development
Merge branch '17-better-load-libary-diagnostics' into development