Added support for environment variables

Setting any of:
$TOSROOT_CUSTOM
$TOSDIR_CUSTOM
$MAKERULES_CUSTOM
will override the $TOSROOT set in the application makefile and any
derived values then on. This effectively restores the perks of the
environment variable system, but without requiring they be set in order
to use TinyOS.