[pfff-php] support for as constraint in newtype

Summary: Dwayne uses that.

Test Plan: unit test included

Reviewers: julienv, jwatzman, glevi, eletuchy, pieter

Reviewed By: pieter

Subscribers: amenghra, dreeves

Differential Revision: https://phabricator.fb.com/D1369932

Tasks: 4467080