With no party winning an overall majority in a poll that saw a record turnout, the shape of the next government could come down to negotiatons.