Allow xblocks to be added as advanced problem types

This change allows Studio to add xblocks as advanced problems instead of advanced components, if desired. This feature is being first used to support Peer Assessment as a built-in advanced problem.
Please add a comment about why template.category may not equal response.type.