Fixed several potential security issues with unchecked variables. Added .htaccess files to common/ and mods/. Modified the sync module to not send item data anymore.