GSoC Template Engine back-end for User Generated Documents (from Andreas) - attempt II

following up from https://github.com/openMF/mifosx/pull/515 ...

FYI: It's a BIG pain (ca. 3h total of work!) for me to rebase Andreas on master (because while the end result of the 36 files changed is consistent, the content of the 24 commits partially contradict each other, so the rebase replay gets confused.. git rerere helps some, but it's still a big pain; I could squash them all into 1 git UGD commit, but there is at least one reason I can think of not to do that: I believe that we'd loose authorship - and that wouldn't be nice).

So if you could PLEASE accept this PR - that would be great. We can, of course, do any required rework off master and submit more pull requests for changes you'd like, bug fixes we'd still like to make in the coming weeks, etc. Tx!