Fixed 1209: Make 'camelcase' ignore trailing underscores.

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>