[lipstick] enablers for devicelock pass code age

devicelock encryption plugin is introducing new return values (exit 2 and exit 3) for special cases like lockcode is found in history file (stores xx values that config key states) and for lockcode has expired (older than xx days). This change changes boolean call to return int (but keeping the interoperability with for example jolla-home package with the kludge in lines 201-203).
Is the LIPSTICK_EXPORT necessary for the qmlRegisterUncreatableType call?