Merge pull request #1782 from tklein23/develop

Fix assertion - open() can return "0", which is a valid file descriptor.
Move all md files but README to doc/md
Merge pull request #1786 from iglesias/markdown

Move all md files but README to doc/md
add markdown syntax to license
Updating revision of data submodule.