Make ip_protocol parameter in security groups rules case insensitive

Added convert ip_protocol to uppercase.
Added tests

Fixes: bug #1052725

Change-Id: I966ddad0800556b1cc848003d07d4a897ce1b9c1