Change ResetDatabaseRule to use properties and refactor pages

- refactor WebElementUtil around methods dealing with table. Use wait until to avoid stale element exception
- ResetDatabaseRule now uses properties for backup script. This way if we run individual test in IDE, it will guarantee only initial database snapshot is included in the backup script.