fix problems with char escaping in M$ AD style usernames

so removed shell scripts and now writeout redsock config directly
from Java code to avoid problems with backslash char escaping in
shell. Also need to doubel up backslashes in usernames as redsocks
user sprintf() which needs any backslash escaped with another backslash.

and since we did all that, got rid of shell scripts and just start/stop
redsock directly form java. also for now check if redsock is running using
pid file as checking the socket doesnt work when its called from maain UI
thread!!
use std opensign cert for release builds