Add xref Makefile target.

Conflicts:
	rebar.config.script
Ignore riak_object module call for xref check.

It's used in map-reduce function called from riak vm.
Fix xref check when odbc driver is not used.
Clean up rebar script.
Merge branch 'master' of github.com:processone/ejabberd