Moved functions into main module.

Also cleaned up docstrings and removed commented-out code.
Added behaviour module stubs.
Updated with new modules.
Renamed files.
Added beam introspection utility functions.
Added behaviours for unit tests.
Removed extra newline.
Moved functions into main module.
Added lfe-utils as a dep.