Update aregion.cpp

Current code breaks caraven sets if combined with a permanent order.

When writing template, code checks that no month order is given. This works well for some caravans. Let's see, this caravan:

    unit XXXX

    move se se
    give YYYY all wood
    take from YYYY all lbow
    @turn
    move ne ne
    give ZZZZ all lbow
    take from ZZZZ all wood
    endturn
    @turn
    move se se
    give YYYY all wood
    take from YYYY all lbow
    endturn

works fine. In summer it will execute all orders and write to template

    unit XXXX
    
    move ne ne
    give ZZZZ all lbow
    take from ZZZZ all wood
    @turn
      move se se
      give YYYY all wood
      take from YYYY all lbow
    endturn
    @turn
      move ne ne
      give ZZZZ all lbow
      take from ZZZZ all wood
    endturn

Even better, thanks to check if month orders are queued, in winter when movement orders cannot be completed it will write after moving a single hex to NE.

    unit XXXX
    
    move ne ; queued
    @turn
      move se se
      give YYYY all wood
      take from YYYY all lbow
    endturn
    @turn
      move ne ne
      give ZZZZ all lbow
      take from ZZZZ all wood
    endturn

However, it won't work with other units. For example:

    @produce mwag
    give XXXX all mwag
    @turn
      give YYYY all mwag
    endturn
    @turn
      give XXXX all mwag
    endturn

will write in template

    @produce mwag
    @turn
      give YYYY all mwag
    endturn
    @turn
      give XXXX all mwag
    endturn

and

    @produce mwag
    @turn
      give YYYY all mwag
    endturn
    @turn
      give XXXX all mwag
    endturn

again, for ever. That's because it counts the produce order as uncomplete month orders queued, and turn orders do never advance.

That's solved by checking if month orders are permanent orders or just uncompleted queued orders, as the patch I've commited.

Another way could be checking if any of the orders inside the turn block is monthlong, but I think that wouldn't be useful. Having a permanent monthlong order and a turn block with a monthlong order makes no sense, however.