Bug 1015494 - allow disabling panel animations during tests, r=mconley

--HG--
extra : rebase_source : 3dbdf0da5fbce6e432f5a38ae700957445f4a913