Update to new SDK and Alfresco 5.0.b

The included updates was primarily to get it running on latest alfresco 5.0.b
For this there is one large chunk of changes first for project restructuring, adding a share project so that it can be run locally for development purposes. The Share amp is of course not needed for the finalt build.

The only change then for it to work with 5.0.b is to wrap in a transaction with run as.