Return empty graph for random 0-regular graph

There is exactly one 0-regular graph, namely the empty graph. A call to
`random_regular_graph(0, n)` now returns the empty graph on n nodes instead of
the null graph.
Adds test.
Merge pull request #1093 from jfinkels/patch-2

Return empty graph for random 0-regular graph