Optimized screen blits and other updates

This update improves screen blit performance a bit, while adding
a framework for other features that may be useful in the future.
Optimized ARM memcpy routines are added, although they are not
used extensively.