Support validation messages for any xblock (on container page).

@andy-armstrong and @dan-f This is ready for review. The associated xblock PR has already been merged.

Known issues:
1) Updating xblock introduced 4 unit test failures due to the fact that the version of xblock in edx-platform was not the most recent. See #5825.
2) Still investigating bok choy test failure (the test passed for me locally).

Sandbox-- http://studio.cahrens.m.sandbox.edx.org/course/validation/validation/validation (created as "verified").

@explorerleslie Please take a look at my sandbox.
Consider factoring the `expected_*` parameters into an `options` object parameter to have named arguments. It would make calls to this function more readable.