Android (fragment): Added isFragment method + Fixed possible ClassNotFoundException

This allows us to make check if the app is a fragment without having the
developer depend on the support jar. This prevents an ClassNotFoundException in AndroidGraphics that could occur if support jar is missing. My bad.