Cache the own_device, to avoid (innumerable) queries for this object (which, after install, never changes)
Merge pull request #821 from bcipolli/cache_own_device

Cache the own_device, to avoid (innumerable) queries for this object