new cost algorithm for beams

Conflicts:
	build/vexflow/vexflow-min.js
Merge pull request #237 from mscuthbert/slopeBeam

Calmer beams with new cost algorithm