Added versioning support in core.Log.
Fixed some routes.
Updated user and log API to follow coding conventions.
Added sorting, offset and limit to core.log_for.