Adding get secret/order by ref support

Change-Id: I645d4b4cd9e03c0c75107c0b3899abbf815c3559
Fixing PEP8 issues

Change-Id: I7906677694e4ff7776b1b5b7359df54b176fd08d
Adding secret id getter to orders

Change-Id: I61318ebb8f2b16d2c8d5d3a48a38f727470bb3f0