Added mouse event callbacks

Added onMouseDown, onMouseUp, onDrag and onDrop callbacks to the entity
class and added the isClickable property to enable or disable the use of
the onMouseDown and onMouseUp callbacks.