Fixes JSLint warnings by handling comparisons stricter
Fixes undefined variable when catching an exception
Fixes cloning locale item by copying the inner site item object
Removes old plugin provider test