Move permit_params out of __before_compile__ block and add doc
Define render/3 as a macro instead
Namespace modules in test