plotting.py modified to make it accept numpy arrays

Motivations behind the change
========================
We want to be able to plot, using the plotting facility, th e connection matrix of the network.
Such a connection matrix can be plotted as numpy array.
I propose a modification of utility/plotting.py that permits to plot such an array.

Testing
=====
I have added test_randomness.py in examples. You will be able to test this functionality by running:

    cd PyNN/examples
    python test_randomness.py mock COBA --plot-figure=mock

This will produce the image mock.png, that can be visualized using eog:

    eog mock.png

![mock](https://cloud.githubusercontent.com/assets/5656774/3386205/d9e7c7d2-fc71-11e3-903f-40e7319c6a5b.png)


Please provide a more specific test file, with an updated docstring. It's not really necessary to run the simulation since you're just plotting the connections. In fact, it might be nice to have a file that demonstrates a range of connectors, e.g. distance-dependent, etc.