core/util: remove atoll and use parsenumberfromstring

This patch replace atoll with stable parsenumberfromstring().

Signed-off-by: Matt Kangas <matt.kangas@10gen.com>