Moved creation of WPILib hardware objects to Hardware static factory methods.