Device validations and test

Added shoulda-matchers gem
Validations for Device
Test cases for Device
Added missing .rspecs