Bug 924697. Modifies profile.sh to take arguments to start profiler

https://bugzilla.mozilla.org/show_bug.cgi?id=924697