Fix and adjustements to community edition

I've done this changes in order to fix the insert at page action and to make the project Alfresco Community compatible.