inheritance uses a less awkward hack for contexts now and subclassing templates is possible

--HG--
branch : trunk
13 files changed