First collectd blank space commit
Make changes to the util format json according the blueflood serialization requirements
Clean up json serialization code a bit and add debug logs
Add a comment explaining the index store for various data types
Remove the code from finalize method which converted the json to list
Flush buffer to bf after every metric

Blueflood doesn't support multiple aggregate metrics sent in bulk.
Collectd needs to flush the buffer to bf after collection is formatted
in json.
Fix json formatting

- Do not blindly prefix commas before adding a new key.
- json_escape_string function requires a temporary buffer.
- use format_name function to use correct names.
- other formatting fixes
Squashed commit of the following:

commit de41b3fd71f3876b9a556ee753c874acaeefb383
Author: Tilottama Gaat <tilottama.gaat@rackspace.com>
Date:   Wed Oct 22 15:46:50 2014 -0400

    More cleanup

commit 87b826cc7d092acb9f8abf1e0036b79941882dbd
Author: Tilottama Gaat <tilottama.gaat@rackspace.com>
Date:   Wed Oct 22 12:32:29 2014 -0400

    Getting rid of plain text format. BF uses only json

commit 561d0c2cd5157aa930a7b68339c3ed22d7ce146e
Author: Tilottama Gaat <tilottama.gaat@rackspace.com>
Date:   Tue Oct 21 20:37:05 2014 -0400

    Cleanup: cleaned up wh to wb, and removed unused configs

commit bf5ec3d2b8c35bd9fe9308f414f8a19cebf73541
Merge: bb732c7 65e1ac3
Author: Tilottama Gaat <tilottama.gaat@rackspace.com>
Date:   Tue Oct 21 20:08:09 2014 -0400

    Merge branch 'dominic/write_blueflood_plugin_work' of https://github.com/dlobue/collectd

commit bb732c7a5db8106c998d954677f24d111d62af58
Author: Marc Fournier <marc.fournier@camptocamp.com>
Date:   Mon Oct 20 16:49:04 2014 +0200

    mysql: correct 2 data types in innodb counters

    Thanks to @ekilby for spotting this mistake ! Fixes #757
Merge branch 'master' of github.com:tilogaat/collectd