LPS-51814 Add 'com.liferay.portal.template' to the exported packages

Hey Miguel, could you please review and forward to @tinatian if you think it's ok?

Ray help me out to solve the OSGI-INF issue and activation problems. Thanks @rotty3000 :)

Thanks!