fix simple popups with more than one custom button - check for the PopupButton.CUSTOM flag within item.type and not a strict equality between PopupButton.CUSTOM and the item.type

So the callback on this works...

PopupManager.instance.showSimple("Choose!", "Mode select", [
	{ type:PopupButton.CUSTOM, text:'Custom 1' },
	{ type:PopupButton.CUSTOM + 1, text:'Custom 2' }
], handler);

...

function handler(flag) {
	trace(flag==PopupButton.CUSTOM);
	trace(flag==PopupButton.CUSTOM+1);
}
textAlign on buttons/texts/textinputs
Fix for #59
Fix #74
Fix #84
Merge pull request #78 from mikedotalmond/custom-popup-handlers

Fix click handler on simple popups with more than one custom button....
Can now use hypenated css syntax

Either things like "backgroundColor" or "background-color" are valid in
css
Fixed placeholdText alignment issue
Added checkbox/optionbox styles to default theme
Merge remote-tracking branch 'upstream/master'