Added palettes to weapons

Closes #130
Made palette swaps happen when weapons changes

Still need to implement this using events so that weapons can change
from a single place.
Compiler flag change

Removing pedantic for now since GCC is changing signature on it. Will
add in more robust flag handling at a later date.