Updated ActiveSync policies and modified error handing

Now will display a custom page for 404, 500, 401, and 403 errors