Only validate quota when enabled. Fixes #141.

Refactored the code due to the need to access ServiceConfiguration
instance parameter from RunListResource. So the isQuotaEnabled method
is now a public one and located in Configuration.

Code review needed before merge.
Merge pull request #142 from zyegfryed/issue_141

Only validate quota when enabled.