Feature/json exporter

A quick first pass at a JSON exporter. Would welcome some feedback around which fields are required, useful, etc.

For #5343

Note that this hasn't touched the XML export functionality at all.
Yeah :D

On 7 December 2014 16:19:03 EET, goob <notifications@github.com> wrote:
>> @@ -5,12 +5,24 @@
>>  module Diaspora
>>  
>>    class Exporter
>> -    def initialize(strategy)
>> -      self.class.send(:include, strategy)
>> +    def initialize(format = :json)
>> +      self.class.include strategy(format) if
>strategy(format).present?
>> +    end
>> +
>> +    def strategy(format)
>> +      @strategy ||= case format
>> +        when :json then Exporters::JSON
>> +        when :xml  then Exporters::XML
>
>> A community decision already accepted XML as the new format
>
>Shurely JSON, not XML?
>
>---
>Reply to this email directly or view it on GitHub:
>https://github.com/diaspora/diaspora/pull/5354/files#r21424879

-- 
Br,
Jason Robinson
https://jasonrobinson.me