Re-worked firefox script to make it work more generically.

If only one argument is passed, it is interpreted as a profile
name (excepting "help" or "profiles", the former shows the usage,
the latter opens the Profile Manager). If more than one arguments
are passed (or no arguments), the arguments are passed to the
actual Firefox binary.