Bug 972359 - Australis - use margins and border for measuring panel heights to avoid unnecessary scrollbars, r=mconley

--HG--
extra : rebase_source : b43a21a0008c5c6270cb7a8b2c2fefacbb590703