Simplify directory and scripts

This removes extraneous relx and rebar configs and chains
relx and the firmware image creation in the rebar.config.
rebar currently doesn't know about cross-compiled builds so
a helper script was added to check for this before creating
a release.