move ldp to ldp project, and number of fixes of other banana libs

Please review. This is not very close to the current Banana branch.