Fixes #7034: Error on modal close when 'backdrop:false'.

Adding 'phantomjs' to devDependencies.
Makefile: Test server port configurable (TEST_PORT).