Adding isNull and isEmpty validation checks for ID field.

Fixes blackberry/BB10-Webworks-Packager#246

To test, simply package an application with no `id` set or set to an empty string and ensure the Packager throws an error.