That's it, yes - each state gets as many electoral votes as it has congressmen, including senators. Most states award all of their electoral votes to whoever wins the state, with no proportionality to it at all - only two states (Nebraska and Maine, neither one large) do anything proportional with their votes.
With a system like that it's easier to see how things can end up with the less popular candidate winning - they can, for example, sneak by with 50.1% of the vote in just enough states to win, but bomb it out with 20% of the vote in all the other states. That's an extreme example specifically for the purpose of illustration, but less extreme versions of that are usually what happens.
The electoral votes also aren't distributed entirely fairly - the number of electoral votes per person tends to be larger for less populated states. The less populated states also tend to be Republican states. So in a very real sense, each person's vote counts for "more" in those states, and "less" in states with high populations. I don't believe it's really possible to fix this problem without vastly increasing the number of electoral votes, but congress currently has its size capped at 535 members for what I consider not very good reasons.
Yes, the whole system is trash from the ground up. But much of its structure is defined in the constitution itself, which is very difficult to change.
You don't need control of the House to work on bills that you don't even intend to pass until the next session of congress, though. There's nothing stopping the Republicans, Democrats, or even average citizens from writing bills right now that are intended to be voted on by future sessions of congress.
And the House of Reps voting on the bill next week is also meaningless, because the bill has a 0% chance of passing this session with the democrats in control of the senate - and the House of Reps would then have to pass it again once a new session starts. Which, they probably will - but that doesn't make the vote next week somehow less meaningless. So the headline is pure clickbait: Congress isn't about to "gift" Trump anything. The gifts will come next year.