[Fix #389] legend: handle EdgeColor and Color properly

Signed-off-by: Oleg Komarov <o.komarov11@imperial.ac.uk>
Merge remote-tracking branch 'okomarov/fixLegendEdgeColor'
Fix `east` colorbars: use `addToOptions`

This might have been introduced in b2b74d787fea2742798f0c5abd37f7a05484542d
Merge branch 'fixColorbar'
Add `codeReport` to determine code health

This function produces a report on the code health.
Currently, this is limited to the table in #391.
Merge branch 'codeReport'
Code report: also some statistics into plot
Complexity catagorization
Move histogram calculations of codeReport

Histogram calculations how happen in the statistics function instead
of the plotting function
Merge branch 'codeReportStats'
Two new testfunctions for testing textual annotations
Add editor links in code report
Merge branch 'codeReportLinks'
Replace pause by drawnow
Merged drawText and drawTextbox. Added Handling for textArrows
Convert text position; prepare for textbox specific handling
Changing output unit to cm; Simplifying drawTextarrow()
Merge branch 'annotations'
Option arrays -> `opts_...` functions defined

Old functions `addToOptions`, `merge` and `prettyprintOptions`
have deprecation warnings but are still used
Use `opts_new` everywhere