remove deprecations and update tests and code that used decprecated APIs

issues: closes #1571 

Note: should be merged just prior to 0.8 release.