Hierarchical triple systems: Effects of higher multipoles and general relativity