Fixed column mapping for host_notification_period and service_notification_period for contacts. I also removed "REPAIRME" comments in front of interval_length mapping line.
Sort the host_ids for each hostgroup

Sort the host_ids for each hostgroup in the '_id_by_hostgroup_name_heap'. This allowed preselected hosts to be sorted by hostname when using the hints in livestatus_query_metainfo.

This is to fix https://github.com/shinken-monitoring/mod-livestatus/issues/22

From the look of the code this issue may also affect _id_by_servicegroup_name_heap and _id_by_hostgroup_name_heap ?
Implementing the csv output with the builtin csv library
StringIO().seek(0) must be called to get the whole generated csv text.
fix the livestatus output sorting for services

fix the livestatus output sorting for services by hostgroup and servicegroup.
Fixed the config file comments to contain the actual logstore plugin names
Merge pull request #25 from Omega-Cube/master

Fixed config file comments to contain the actual logstore plugin names
Merge pull request #23 from andrewmcgilvray/master

Sort the host_ids for each hostgroup
Merge pull request #2 from smlacombe/master

Fixed column mapping for host_notification_period and service_notificati...
Moved the csv and StringIO imports to the beginning of the module
Merge pull request #24 from edin1/fix-csv

Fix :  csv bug: delimiter ";" in cell values is not escaped properly
Fix: add missing column 'labels' for hosts and services

This was missing.
Merge pull request #26 from matthieucan/fix-labels-column

Fix: add missing column 'labels' for hosts and services