CB-5971: Factor out package/project name validation logic
CB-5971: Factor out package/project name validation logic

apache/cordova-amazon-fireos,apache/cordova-amazon-fireos,apache/cordova-amazon-fireos,apache/cordova-amazon-fireos