Changed up 500 template. Improved error string for facility id.

Fixes #318
Merge branch 'develop' of github.com:medic/kujua-lite into develop