Fixed a bug that prevents to create an activated ipsec connection
Improved the code to be more flexible to input errors
Prevent ipsec connection creations enabled, you need to edit the connection first
Merge pull request #582 from Zentyal/cperello/ipsec-fixes

Cperello/ipsec fixes