Merge pull request #35 from nikicat/master

actions.build: added --rebuild option; do not rebuild by default
added more tests