Allow PhutilTypeSpec to validate regular expressions

Summary: Adds a `regex` type to PhutilTypeSpec.

Test Plan: Unit tests; triggered the exception manually and read it to make sure it made sense.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D6855