Added OTP style modules, so that fprofx can be a rebar dep

rebar dependencies do not work well with modules alone, which are not bundled as an OTP app.

this pull request fixes that. Tested using frofx as a dep, tested using fprofx after adding it to rel/reltool.config.