Seperated libflx from pkgtool as when not using libflx as plugin it just
slows compilations down.

Added limited phase completion testing to allow install not to repeat
build and test phases if test phase has completed successfully.
So now OSX sudo install should not have to do any compiliation
if user has ran test phase first