build: remove shared libjim on clean

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c: fix a compiler warning for gcc/glibc

Signed-off-by: Steve Bennett <steveb@workware.net.au>
build: make check is now an alias for make test

Compatibility with some build systems

Signed-off-by: Steve Bennett <steveb@workware.net.au>
format: fix white space indenting in jim-format.c

Signed-off-by: Steve Bennett <steveb@workware.net.au>
format: fix format %hd on some platforms

Signed-off-by: Steve Bennett <steveb@workware.net.au>