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

* Since it represents a client error, I also made it log a simple line instead of the whole stack.
* Also fixed a bug where zero points was causing a java exception on query.