A friend was working on image handling with the media module and found that it was next to impossible to remove a <p> tag wrapper. Here's some quick code which creates a text filter to remove that wrapper.
Most configuration can be exported with Features; path aliases seem to be an exception. So, to export a path alias, I use the following technique in mymodule.install: