Remove BOM from resource files.
Rename moon.lua to moon_phases.lua.

--HG--
rename : addons/libs/resources/moon.lua => addons/libs/resources/moon_phases.lua
Merge pull request #666 from Kinematics/4.1-dev

Fix resource files unicode BOM
Create PetTP.lua
Update PetTP.lua
Update PetTP.lua
Libs/Resources: Better'd
AutoControl: Fix for new API
GearSwap: Only call pet_status_change for valid pets.
Ensure pet.status is updated with the new status. It may not have been
updated via refresh_globals().
GearSwap: Revise pet refreshing to account for currently assigned isvalid state.
If the current pet table has a pet index matching the player's pet index, copy
the isvalid state from that rather than forcing it to be true.  This accounts
for when the pet is released and sets isvalid to false, another refresh event
occurs afterwards.  That way we're not left with an orphan 'valid' pet that
doesn't actually exist.
GearSwap: Copy over existing status of a pet table if it's valid and matches the
pet index.  Trust the 0x0E packet handler to update status as it changes, since
it gets handled before the pet table gets updated, usually.
Various addons: Adjustments to new API
Merge pull request #667 from Kinematics/4.1-dev

Pet validation issues.
GearSwap: Update gain/lose buff event handlers to use IDs (new API).
GearSwap: Update job change event handler to only use IDs (new API).
GearSwap: Revise world info update to account for IDs (new API).
Add zone resource loading so that we can convert zone id to a value.
Change apparent weather to be the storm buff if that's the source of the weather
Merge pull request #668 from Kinematics/4.1-dev

GearSwap: Updates for the new API
GearSwap: pet_midaction is never set in out_arr, only in the global var.
Simply return the _global.pet_midaction value (which is what gets set manually anyway).
Do the same for player midaction as well.
Merge pull request #669 from Kinematics/4.1-dev

GearSwap: return expected pet_midaction from global var.
Update PetTP.lua