Sync to upstream 6502_functional_test.a65

Updates:
01-aug-2012  added trap macro to allow user to change error handling
01-dec-2012  fixed trap in branch field must be a branch
02-mar-2013  fixed PLA flags not tested
as announced at http://forum.6502.org/viewtopic.php?p=24688#p24688
Merge pull request #5 from BigEd/patch-1

Please sync to upstream 6502_functional_test.a65