Fixes #302 (Setting attributes fails for Projections where either the pre- or post-synaptic Population has size 1)

An alternative to PR #289