Refactor firefox

Use higher level builder dsl methods in firefox, extract install_dir, source_url and such.

/cc @BanzaiMan