Final series SQL changes, taken from mbs-2714-series-ui branch
Merge remote-tracking branch 'bitmap/mbs-2714-series-more-sql' into schema-change-2014-05

* bitmap/mbs-2714-series-more-sql:
  Final series SQL changes, taken from mbs-2714-series-ui branch