merge ldp branch into ldp project, with a number of fixes of other banana libs

This is a development of the Plantain branch into something that allows commands to function locally and remotely indiscriminately. The advantage of this is that one can then create Commands to get a resource or to query one, and wether it be local or remote is transparent to the building up of the Free Monads. This allows one to put scripts together that can start from a local resource, get an acl for it, follow through on remote resources, come back to local ones, without any trouble.

The code is of course still evolving, but given the amount of work in it, it would be good to settle now rather than for the code bases to diverge further.

Please review.