Bugfix and improvement

This modifications include:
1/ a bugfix regarding Turtle serialization
2/ an improvement of BufferedService.flush, allowing synchronous flush
3/ minor changes on the generic_collector

The solution to make flush synchronous is not perfect (the async parameter of jquery.ajax is deprecated), but this is a required feature of the generic_collector at the moment.