Check if required is an array on validateBlockTypesExist. Closes #66. Props to @callumlocke for finding this one.