INT-2945 - StoredProc isFunction property not set

For reference see: https://jira.springsource.org/browse/INT-2945

* ensure that for *StoredProcedure Inbound Channel Adapter* the *isFunction* property is set
* add test

Also **Cherry Pick for 2.2.x**