backed out device view changes. added include of CouchRestRailsBackward in device model