REST-API: Added method to only add a non-empty iterable for ResponseMapBuilder

git-svn-id: http://svn.flexive.org/repository/flexive/trunk@2991 d35d4baa-7912-0410-b0ae-edacad209e15