Removing ebin dir when doing a real-clean.
Removed dead rule and made sure that xref dep is correct.
Mix bag of changes cleanup.