fix ido2db init script to be LSB compiant

- removed mixed indentation
- modified status check to be LSB conform
- changed structure of status check

To have a defined interface for the service status of ido2db, I modified the init script to behave like described at: http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html