Changed building configuration to use rebar
Changed reg_exp() to normal type since it is defined only for local module
Removed Erlsom dependencies from src directory