Add unit tests for several cpp regressions (#5032)
* Add tests for #4310, #4343, #4985, #4986, #4987 and #4988
* Add tests for #5023, #5025, #5030, #5043 and #5044
closes #5025
closes #5030
* Disable #4988 test on PHP for now
* Add a test for #5028
* Add tests for #5078 and #5108
* Consistent tab indent
* Avoid redefinition error
* Fix some stuff
* More test exclusions, remove the tests for #5023 / #5043
misc/projects is only for --macro unfortunately
* Try to get php and lua under control
* Ok, Lua should be ok now..
* Behave PHP!
* Just remove #4985 for now...
* Add a test for #5543
* Fix a cpp runtime crash in Issue5025.hx
* Add a (slightly modified) version of 4985 again
* Revert "Add a (slightly modified) version of 4985 again"
This reverts commit 9f7c56d053acfc765fa376ca3681bd6ce7c2010a.