support specifying process name at runtime
If the annoated process name with GfxMonitor starts with '#', we
treat it as a method that returns a String to indicate process
name. Such method will be called between beforeTest and test
iteration starts, in case that test class needs to setup test
iteration before it can determine the process name.
Also added monitor class name in the assertion message when not
enough frames are received.
3 files changed