Extend developer documentation on unit tests
This MR extends the developer documentation on unit tests.
It adds instructions on how to build unit tests are documents several options for running the tests.
Also, it updates the 'Automated regression testing' with information about the current state.
If this is accepted, may I ask for this to be merged both to master and to the stable branch?