General overhaul of the Asset loading system
Add Lua script to manually sync or unsync resources (closes #1713)