Add OF 1.4 support to the python backend

Reviewer: @andi-bigswitch 
CC @alshabib 

Includes fixes to the standard-1.4 input file and a couple of testcases. `make check-py` passes.