Include some minor fixes from my fork

- Fix javascript error in dashboard
- Fix bug that allows invalid values for "priority" if you don't set .Priority in custom ISitemapRouteProvider (did this and got validation errors in google webmaster tools; this fix resolved the error)