Define errors for app memory quota checks.

Change-Id: I97c14d6b6a954d0aa7d998267667042bb96e6fbf
Translate quota check sequel validation exceptions

Change-Id: Ie702dba63e7fe197cd9a182ae08f3473195b3eb7
Add api specs for app memory quota check.

Change-Id: I9b370091816f63813a20a13f1b5e812d5de7b176