When there is no data, getClass (to determine the rollup type) will throw an error. Avoid that.
Do not 500 on invalid points parameter.
Merge pull request #320 from gdusbabek/fix_validate_points_params

Throw 400 instead of 500 when 'points' doesn't parse.