Adds package-info.java files

Also:
- Refactors common helper functions into a new `Base.ftl` module.
- Changes `Functions.fmpp`-defined constants to be in all caps.