Very Bright Prompt and Reverse Shock Emission of GRB 140512A