Update deprecated getters and setters

The Element abstract class had some changes made to it that deprecated the old way of calling getters and setters. The new way has a "$dom_" prefix.

This commit updates these calls for lib and for the IDE sample.