gitignore: Merge rules from src/ directory
gui2/taddon_filter_options: Make SP/MP campaigns checkbox use Sentence case

For consistency with all other non-menu/listbox checkboxes.

pofix rule included and applied.
Use Title Case for core names since they are used in menu context
gui2/tcore_selection: Make the listbox grow vertically

This allows its top to be aligned to the dialog's top so it's not
centered vertically.
rename animated.i to animated.tpp
Merge branch 'master' of git://github.com/wesnoth/wesnoth
Coward Micro AI: add optional attack_if_trapped key

If set, the unit attacks the weakest enemy next to which it ends up at
the end of its move.
change saved_game & savefile format

we move code from playcampaign.cpp to saved_game.cpp
we also change the savefile format so that ingame savegames don't
contain [carryover_sides_start] anymore becaus all that was already
merged to both [snapshot] and replay_start.

This commit is likley to break something. If so that will be fixed in
later commits.
move more code playcampaign -> saved_game

also removes some out commented code.
small playcampaign.cpp refactor
move carryover handling out of playcampaign.cpp

this also makes a small change in the savefile format: [endlevel] ->
[end_level_data] in snapshots.

we still have the "store_carryover" function in playcampaign.cpp which does the visual message.
Note that the real carryover happens after linger mode while that message happens before linger mode this simplifies linger mode saves.
remove outcommented code
move rotate_random call playcampaign ->saved_game

this also removes some set_/remove snapshot calls, which are not needed
becasue there is no snapshot after convert_to_start_save.
make use of playsingle_controller optional
minor playcampaign refactor
remove unneeded code

we read the replay from [replay_start] not form [carryover_sides_start]
so no need to write them there.
load replay from [scenario] if [replay_start] is not present

the intention is to change the serverside generated replays to contain
[scenario] & [carryover_sides_start] & [replay]. [replay_start] would
be wrong because carryover isn't expanded in these servergenerated
saves.

Servergenerated saves from reloaded (non start of scenario) games will
then contain  [replay_start] & [carryover_sides] & [replay]
remove outdated line

we store difficulcy only in classification, not in carryover_sides_start
simplyfy level_to_gamestate

most liley level_to_gamestate is currently broken since the latest
saved_game changes, but this commit doesn't change anything
remove set unneeded difficuly

we don't store difficulcy in carryover_sides_start anymore