LPS-36650 Better error message phrasing

Added putStatus and putErrorMessage to JSONObject for not having to put
"status" and "message" from the client

Check for validateFirstLayout when rearranging pages.