Merge pull request #27 from daemondazz/master

Update example configuration file to define $api_type
properly lookup API columns for host state

related to #28
Don't pass optional arguments to timeago()

Passing in NULL as an argument causes the variable to be set to NULL
rather than it using the default. This was preventing " ago" from
being appended to the duration string.
Check for existance of cookies before using them.

Fixes instances where we try to get a value from a cookie which might
not have been set yet.
When spinner is enabled actually refresh the data

This fixes the case where the spinner is enabled. If enabled all it does
is make the call to display the spinner and not actually poll for new
data.
Merge pull request #36 from cornet/28-fix-refresh-when-spinner-enabled

When spinner is enabled actually refresh the data
Merge pull request #34 from cornet/fix-error-on-missing-cookies

Check for existance of cookies before using them.
Merge pull request #32 from cornet/fix-timeago-function-calls

Don't pass optional arguments to timeago()
pull nagios_enabled column for hosts so that all hosts don't appear disabled
Merge pull request #38 from murphy-slaw/master

pull nagios_enabled column for hosts so that all hosts don't appear disa...
fix check_attempts and plugin_output for hosts
Merge pull request #39 from murphy-slaw/master

fix check_attempts and plugin_output for hosts