Added rest-spec directly to the core repo, removed rest-spec submodule

Closes #4540