Added some validation logic (and AppCode files)
Added ability to replace bundle identifier and refactored the unit tests so that they run faster (don't execute the resigning unless needed for the test)