manging generated prototype files

- need to change owner and group to 'root'
- need to strip leading '/' off paths
correctly use BASEDIR
better use of DIRNAME + fixes
syntax derp
unnecessary indirection in run_package_command
Merge pull request #75 from opscode/lcg/solaris-pkgmk-fixes

manging generated prototype files