Properly mark the 'const' state of a fonction's return type.
Merge pull request #28 from jlesage/master_for_pull_request2

Properly mark the 'const' state of a function's return type. (Thanks Jocelyn!)