Adjust parser to complain when $this is reassigned on method declaration

Aims to fix #3940. I'm in doubt about the distinction between PHP errors HipHop error messages though.