[FORWARD PORT] LPS-50655 give preference to KBArticle object over HTTP parameters

This is a forward port of https://github.com/brianchandotcom/liferay-plugins-ee/pull/9332