transformed planeswalker sanity check/fix

Fixed issue where if a card was transformed, and it was being granted the planeswalker loyalty-on-etb ability, it would be granted that ability once per refresh
Fixed flip cards + continuous effects nonsense

Also some loop optimization in that area of the code.  No reason to go through the loop multiple times, or loop over objects that can't possibly flip/transform/turn face down

Also changed the flip/transform code to use the same build-then-modify scheme as the face-down code.