Filters: Add boolean matching support

Also add tests for handling of invalid input.

(cherry picked from commit 57b2a195ce069641d0c3ae1fd1d86a6719804cc2)

Conflicts:
	Tests/MPExtended.Tests.Libraries.Service/Shared/FilterTests.cs