Changes and additions from the Fellowship of the Process Ring

In the fellowship of the process ring we have made a number of changes and additions to xerlang.

An escript has been created to check the examples.
All _test.erl files have been renamed to _tests.erl to follow common practice.