F function support

Cartesian f-functions have been tested with GAMESS output files.
See f-only.gamess and f-only.cube.

Spherical f-functions have been tested with gaussian fchk files.
See f-only.fchk, f-only.cube and NH3.fchk in testfiles.

Extra testfiles have been added to compare orbital/cube generation
  f-only.fchk
  f-only.g09         Methane molecule with f-functions only.
  f-only.cube        EVERY orbital viewing program should
  f-only.gamess      produce identical output.

  d-only.fchk
  d-only.g09         Methane molecule with d-functions only.
  d-only.cube        EVERY orbital viewing program should
  d-only.gamess      produce identical output.

  NH3.fchk           RwB97XD/aug-cc-pVTZ calculation

Change-Id: I42162bb288ef8a2cf0ae99b7622a8e92415ee421
fix GAMESS crash with f functions

I had a mistake in the reorder routine for the number of cartesian
D primitive GTOs.

Change-Id: I7b174ae6bc5bca0447f5e942b63326aef2119b94
Merge topic 'f-orbs' into master

fb39a775 fix GAMESS crash with f functions
4211760d F function support