Bug 788022 - Add support for dalvik profiling. r=snorp,kats

--HG--
extra : rebase_source : 3eb56af40018a546586fd0fb33e343589ddcf207
Bug 744836: Adds null checks for mEventTarget in nsTimerImpl. r=bsmedberg