Bug 1085313 - [Gaia] Refactor the error handler for icc.{set|unlock}CardLock API

See [bug 1085313](https://bugzilla.mozilla.org/show_bug.cgi?id=1085313).