Making ActivityFactory ready for turning into a service

The factory needed some tweaks to be able to put into a service
container.
Installing Silex for the HTTP interface
Starting to use Pimple for DI
Creating initial HTTP interface
DRYing controllers

Created ActivityRunner that contains the whole process of checking an
activity. This prevents code duplication in different interfaces (right
now only HTTP & CL).