Use __FBSDID and factor out some code from the symbol lookup routines.
Merge branch '20140901-libproc-refactoring' into markj-develop