Issue 194

Fix for #194. Measurement limit for shapefile export: 500 (configurable) Everything above that will result in a HTTP 500 error:
![2014-06-24-tracktoolongexception](https://cloud.githubusercontent.com/assets/3692794/3371408/3628a11a-fba0-11e3-872c-8757bfc9f29d.png)