check $upgrader instead of $_GET['action']

Check only fails if both are FALSE
switch plugin loads classes after plugins_loaded

Hopefully this fixes some of the issues with remote updaters like iThemes Sync, MainWP, InfiniteWP and ManageWP