Added methods to check if a bound is inclusive.

Refs #7805
Updated unit test.

Also fix bug with inclusive bounds setting in the process.

Refs #7805
Updated python unit tests.

Refs #7805