Cleanup warnings - mostly rawtypes and unchecked.   API and Core should
now build clean with proper eclipse settings.