Fix for Codeplex-1383 for MVC with Attribute Routing

The validation for attribute routes was missing from the earlier change.
This will validate both attribute routes and traditional routes.