Fix for Issue #29

This is a fix for issue https://github.com/eucalyptus/eucalyptus-sosreport-plugins/issues/29.  The fix includes the following:

* check to make sure eucalyptus-cloud is running before eucafrontend module can be executed
* check to make sure postgres is running before eucadb module can be executed.  

Fix has already been tested.  Test results are below:

### success
```
# sosreport -o eucafrontend,eucadb

sosreport (version 2.2)

This utility will collect some detailed  information about the
hardware and setup of your CentOS system.
The information is collected and an archive is  packaged under
/tmp, which you can send to a support representative.
CentOS will use this information for diagnostic purposes ONLY
and it will be considered confidential information.

This process may take a while to complete.
No changes will be made to your system.

Press ENTER to continue, or CTRL-C to quit.

Please enter your first initial and last name [odc-c-06]:
Please enter the case number that you are generating this report for [None]: 9999

  Running plugins. Please wait ...

  Completed [2/2] ...
Creating compressed archive...

Your sosreport has been generated and saved in:
  /tmp/sosreport-odc-c-06.9999-20131105184727-adb8.tar.xz

The md5sum is: 120cbedb0e847730169f89be8992adb8

Please send this file to your support representative.
```

### when the eucalyptus-cloud and postgres processes aren't running
```
# sosreport -o eucafrontend

sosreport (version 2.2)

This utility will collect some detailed  information about the
hardware and setup of your CentOS system.
The information is collected and an archive is  packaged under
/tmp, which you can send to a support representative.
CentOS will use this information for diagnostic purposes ONLY
and it will be considered confidential information.

This process may take a while to complete.
No changes will be made to your system.

Press ENTER to continue, or CTRL-C to quit.

Please enter your first initial and last name [odc-c-06]:
Please enter the case number that you are generating this report for [None]: 9999

### eucalyptus-cloud process doesn't seem to be running
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 704, in sosreport
    plug.setup()
  File "/usr/lib/python2.6/site-packages/sos/plugins/eucafrontend.py", line 331, in setup
    self.clc_status()
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
  Running plugins. Please wait ...

  Completed [1/1] ...
Creating compressed archive...

Your sosreport has been generated and saved in:
  /tmp/sosreport-odc-c-06.9999-20131105185327-1ce4.tar.xz

The md5sum is: a8991121490903180652394356191ce4

Please send this file to your support representative.

# sosreport -o eucadb

sosreport (version 2.2)

This utility will collect some detailed  information about the
hardware and setup of your CentOS system.
The information is collected and an archive is  packaged under
/tmp, which you can send to a support representative.
CentOS will use this information for diagnostic purposes ONLY
and it will be considered confidential information.

This process may take a while to complete.
No changes will be made to your system.

Press ENTER to continue, or CTRL-C to quit.

Please enter your first initial and last name [odc-c-06]:
Please enter the case number that you are generating this report for [None]: 8888

### Postgres process doesn't seem to be running. Make sure eucalyptus-cloud is running.
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 704, in sosreport
    plug.setup()
  File "/usr/lib/python2.6/site-packages/sos/plugins/eucadb.py", line 57, in setup
    if os.path.isfile('/usr/pgsql-9.1/bin/pg_dump') and self.check_postgres():
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
  Running plugins. Please wait ...

  Completed [1/1] ...
Creating compressed archive...

Your sosreport has been generated and saved in:
  /tmp/sosreport-odc-c-06.8888-20131105185338-7c7c.tar.xz

The md5sum is: b4ba95b6951dd6ad99545f427ece7c7c

Please send this file to your support representative.
```