Added Emakefile, Makefile and build.sh

Tested on centos with Ejabberd 2.1.13

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