[bugfix] Fixed string trimming.

modified:
  src/mediasmartserverd.cpp
    - Fixed trimming of system vendor and product name string.
    - Fixed some typos.

  .gitignore
    - Ignore object files.
    - Ignore gedit ~ files.