Add select/deselect methods to the REST api

This methods enables to start/stop downloading a file from a torrent through the
REST api.