ViewHelper code tidy
Fixing whitespace and formatting, since this is supposed to be a "helper" class and therefore it's important to keep it readable.
Also removing a bunch of unused code and methods, on the assumption that by now we've stabilised on correct usage patterns and should guide people towards them rather than providing alternatives.
Edited by Benjamin Michael Wynne