- adds output type method generation for views, needs some refactoring but basically working.

refs #1019