Update APISession.java

[JENKINS-21151]
Moved createAPISession method to APISession class
	- This re-use of the code to get an APISession Checkin,checkpoint, and checkout
Made re-scoped APISession constructor
	- All instances of APISession should be created through static method APISession.create