Revert "Remove unused field m_device"

This reverts commit aeec9493411a5cbd66bafbbb4414669113666c90.
travis: Add static analysis using clang as test phase