refactored apachex::package, added more tests for FreeBSD