Rebasing #1101 to v0.10 branch

Fixes expectIntegerId bug (fix #999)
Parse id as integer if expectIntegerId option is enabled in REST
blueprints configuration.
Added the radix parameter (PR #1214)

Added the radix parameter to prevent unexpected behaviour while parsing a string.
Merge pull request #1214 from LukaszKrawczyk/v0.10

Rebasing #1101 to v0.10 branch