The Welsh Government has cut a £100m deal with Welsh Liberal Democrat leader Jane Dodds to pass its £26bn spending plans for next year.