This adds async behaviour to the activityfeed methods with callbacks, also adds the posibility of creating a feed without the pubsub connection.

Squashed commit of the following:

commit f55acf5b28a0a30f9fd77d336dc5c364cd343a4a
Author: Bjørn Magnus Mathisen <bjornmagnus.mathisen@sintef.no>
Date:   Fri Mar 15 13:10:31 2013 +0100

    fixed two tests that was left un-refactored with the pubsub optionality change

commit b8ec0daacd6f7ecb614f3c7f5dc3e6ce586c11ff
Author: Bjørn Magnus Mathisen <bjornmagnus.mathisen@sintef.no>
Date:   Fri Mar 15 10:50:56 2013 +0100

    fixed SN test failure

commit 9833cb242c1ccd4843c1dd26ad0a2d3fec248384
Author: Bjørn Magnus Mathisen <bjornmagnus.mathisen@sintef.no>
Date:   Fri Mar 15 09:32:10 2013 +0100

    refactored to optional pubsub

commit 19dd116b52fc7bafa02a77fe86c5703e0458cb97
Author: Bjørn Magnus Mathisen <bjornmagnus.mathisen@sintef.no>
Date:   Fri Mar 15 01:57:50 2013 +0100

    all callback functions are now asynchronous

commit af170db563c9636844309fb5087e0cb761bbada5
Author: Bjørn Magnus Mathisen <bjornmagnus.mathisen@sintef.no>
Date:   Thu Mar 14 09:10:02 2013 +0100

    starting to make the callback methods async

commit 21c461f50810530fbbe07647476adfda58412465
Author: Bjørn Magnus Mathisen <bjornmagnus.mathisen@sintef.no>
Date:   Wed Mar 13 12:09:42 2013 +0100

    did some work on CPA, and added debug prints in activityfeed importer

commit b1c534b2d37526b8402c474f4172f98b9d541f51
Author: Bjørn Magnus Mathisen <bjornmagnus.mathisen@sintef.no>
Date:   Mon Mar 11 08:58:12 2013 +0100

    fixed FBtest, needed feedid