LPS-43575 Initial commit to use the new preferences framework to read the values of the preferences in message boards

This pull is related to this one: https://github.com/brianchandotcom/liferay-portal/pull/16773