Update xctool to use `test` action instead of build 

This pull request makes changes to fix the issues discussed on #187.

It avoids assertions preventing test executing when using Shared Schemes under Xcode 5.