Add optional form argument to Record.new

This allows the form to be manually passed in to the constructor,
removing the necessity to re-fetch it from the API later if the form has
already been loaded.