Added Emakefile, Makefile and build.sh

Tested on Centos with Ejabberd 2.1.13

Signed-off-by: Fernando Rocha <fernandogrd@gmail.com>