Ensure that assertions fail when arguments are missing

* Ensure that all assertions defined in macros.js throw an
AssertionException when they are called with no arguments
* Removing duplicate `isDefined` test
* Adding IDEA project files to .gitignore