Add test for BrokenElement and TraceSpace functionality

Requires the bunch of PRs I just made.  Easier way is to check out the `colin_hacks` branches in FIAT, UFL and FFC, which have the merge conflicts fixed already.