deposit: double action bar fix

* Fixes an issue with the action bar being displayed twice
  with the new upload action bar instead of the edit action
  bar.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
communities: ranking fix

* Fixes an issue with the community ranking in the case no records
  have been accepted.

* Fixes some PEP8 errors.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
admin: blueprint customization removal

* Adds config variable to set name of administration interface.

* Removes need for copy/pasted blueprint customization with minor
  modifications.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
oauthclient: unauthorized disconnect fix

* Fixes issue with disconnecting linked account when user
  is not authenticated.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
base: bibupload allowed paths fix

* Adds /Users to bibupload allowed paths to support OS X.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
deposit: Flask-RESTful update

* Updates Flask-RESTful to version 0.2.12 which fixes a regression
  introduced in 0.2.11.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
sequencegenerator: integer size fix

* Fixes inconsistency in integer size used by master-branch vs
  pu-branch.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
global: file header post code fix

* Fixes wrong Free Software Foundation post code in file headers
  which have been copy/pasted to many files.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
records: fix usage of calculated fields

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
sqlalchemy: change JSON type to native one.

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
jsonalchemy: update `parser.py` for pyparsing 2

* Transform hardcoded decorators into extensions inside the parser
  folder. The new decorators are cataloged as `before`, `on` and `after`
  depending on when they should be evaluated.

* All the decorators that before needed always a tuple now works as
  `@decorator(*args)`.

* Remove `@inherit_from` decorator from field definitions as it is
  replaced by `@extend` and `@override`.

* New decorator extension added `@connect(field_name[, function])` to
  link to fields and propagate changes from one to the other and vice
  versa.

* Remove `include` form field definitions as now registries are used.

* Replace `checker` section by `schema` to perform simple validations,
  like type or length. For more complex check use the checker module.

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
jsonalchemy: add `jsonext` as common namespace

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
jsonalchemy: update readers and SmartJson

* Update all parsers to work with the new structutre of the field and
  model definitions, meaning using the extensions properly.

* When translating a new blob there is no need any more to go through
  the `readers` registry, instead call `Reader.translate`. See the
  method docs for more info.

* Update SmartJson to work also with new extensions and decorators
  structure.

* Update JSON for marc producer to adapt it to the new extension
  behavior.

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
records: update to new JSONAlchemy

* Add `persistent_identifier` property to the record base object.

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>