Make xrdp init.d work with rhel

Changed init.d script to work with redhat/centos/etc. Tested with centos 6.5. Need to change the compiling with Centos page in the wiki.