Fix BeatMap::scale() -- which was totally broken.

Add tests for BeatGrid::scale() and BeatMap::scale(). Potentially a fix
for Bug #1341181.