Convert the init script to lsb-base logging

Also add support for the "status" action.
Debian changelog for 6.4.0.4-2