Inaki r16fix

Updated to R16 by removing namespace dots and modifying rebar.config to include R16 in the requirements. Also renamed the tests directory to test, accordingly modified Emakefile and rebar.config test directory paths.