Added some checks to ElementHelper

Checking for null values and excluding the id property which is invalid allows someone to use it like :
BeanMap bm = new BeanMap(activity);
ElementHelper.setProperties(element,bm); 

without worrying about their POJO's properties.