Only cast ProjectileSource to an Entity if it is one. Fixes cast errors ...

...due to change in CB #2998 (see BUKKIT-1156 + BUKKIT-1038)

Attempting to cast a ProjectileSource to an Entity will cause an error if it is a non-entity (such as dispenser): http://pastebin.com/eisbswy4