Migrated ImageLib

Also reading back through all existing lua lib code to make sure the
proper versions of memory operations are being used

Ie X::Push instead of

X *x = X::Allocate(l)
*x = valToPush
Forgot to ignore this debug log