A new test for text with tex commands
Add `getAndCheckDefault` function
Add `getFactoryOrDefault`
Add `addIfNotDefault`
Check factory defaults for `{X|Y|Z}Color` of Axes
Check factory defaults of Legend edge/fill  color
Merge branch 'useFactory'

Tested on R2014a and R2014b
Conditionally cycle paths

When a path ends in a NaN, it should not be cycled as it is explicitly
broken in MATLAB, but it seems that `pgfplots` does not take NaNs into
account when closing the path.
Some issue links in ACID
Merge branch 'cyclePaths' to fix #317, #49, #404

Tested on R2014a, R2014b
Merge remote-tracking branch 'broele/TextFormatingTest'
Fix some typos
Empty strings as `''` instead of `[]`

This is clearer as to which type everything should be. Also, in Octave
this used to raise warnings.
Extract `opts_append_userdefined`

Include user-defined options.
Merge branch 'cosmeticChanges'