0.3.x: Add BOM and split master pom to '-metadata' and '-with-dependencies' poms

Same as https://github.com/droolsjbpm/uberfire/pull/14 but for 0.3.x branch . Cherry picking from master would cause merge conflicts so I did the cherry-pick locally, resolved them, tested again and created separated PR.