Add validation for cost and availability fields.

Only two fields that aren't string types in the database that use
generic controls (release date uses a date picker and should never have
an invalid value).
Suppress VS warning.