Saves vis privacy and mode in the sharing window
Merge branch 'privacy-maps' of github.com:CartoDB/cartodb into privacy-maps

* 'privacy-maps' of github.com:CartoDB/cartodb:
  add attributes inside options for named map CDB-1664
  CDB-1664 added interactivity attributes for all named map layers at vizjson
  updated cartodb.js
  CDB-1644 Removing interactivity from options if layer has no infowindow. Else adding MapConfig attributes detailing the infowindow.
  CDB-1674 Fixed, layer changes now trigger a named_map update
  CDB-1305 Refactor part 2, moved to named_map more stuff